package eop.project

import java.text.SimpleDateFormat;
import java.util.Map;

class LoaderService {
	
	boolean transactional = true
	
	void loadVolcanoData(volcanoXmlService){
		LoadVolcanoDatabase volcanodb = new LoadVolcanoDatabase();
		Map volcanoList = volcanodb.readVolcanoDataFromWeb(volcanoXmlService);
		volcanodb.saveVolcano(volcanoList);
	}
	
	void loadActivityData(activityXmlService){
		LoadActivityDatabase activitydb = new LoadActivityDatabase()
		activitydb.readAndSaveActivityDataFromWeb(activityXmlService);
	}
	
}	